How does a cryptographic hash work?
Could you please explain in simple terms how a cryptographic hash function operates? I'm curious about the underlying mechanics and how it ensures the integrity of data. How does it generate a unique output for any given input, and what makes it difficult to reverse the process? Additionally, what are some of the common applications of cryptographic hashes in the world of cryptocurrency and finance?